package com.baike.feign.fallback;

import com.baike.data.Result;
import com.baike.em.ConstantEnum;
import com.baike.entity.TbStudentHave;
import com.baike.feign.LessonServiceFeign;
import org.springframework.stereotype.Component;

@Component
public class LessonServiceFeignBack implements LessonServiceFeign {

    @Override
    public Result<ConstantEnum> postHave(TbStudentHave studentHave) {
        return Result.build(ConstantEnum.FALL_BACK);
    }
}
